<?xml version="1.0" encoding="us-ascii"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns="xri://$xrd*($v*2.0)" xmlns:xrds="xri://$xrds"
	xmlns:openid="http://openid.net/xmlns/1.0">
	<xsl:output method="xml" encoding="UTF-8" indent="yes"
		cdata-section-elements="javascript-escape"
		media-type="application/xrds+xml" />
	<xsl:template match="/">
		<xrds:XRDS>
			<XRD>
				<Service>
					<Type>
						<xsl:value-of
							select="'http://specs.openid.net/auth/2.0/return_to'" />
					</Type>
					<URI>
						<xsl:value-of
							select="concat('http://', /delegator/request/@server-authority, /delegator/request/@context-path, '/openid-return/')" />
					</URI>
				</Service>
			</XRD>
		</xrds:XRDS>
	</xsl:template>
</xsl:stylesheet>
